html,
body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

#root {
  padding: 0 20px;
}

#header {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.header-title {
  font-weight: bold;
  font-size: 25px;
  padding: 0 20px;
  color: #222;
}

.header-logo {
  flex: 1;
  display: flex;
  align-items: center;
}
.header-nav {
  width: 150px;
}
.nav-item {
  margin: 0 10px;
  font-size: 18px;
  padding: 3px 0;
  color: #000;
  text-decoration: none;
}
.nav-activtied {
  text-decoration: underline;
}

#article-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.article-wrapper {
  width: 100%;
  max-width: 1200px;
}
.article-img {
  flex: 1;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.article-img img {
  width: 100%;
}
.article-content {
  max-width: 800px;
  width: 100%;
  margin: 10px auto;
  /* box-shadow: 0 0 6px #ccc; */
  padding: 20px 40px;
  line-height: 32px;
  color: #444;
}
.article-content img{
    margin-left: 10%;
    max-width: 80%;
}

#footer {
  width: 100%;
  display: flex;
  border-top: 1px solid #ddd;
  height: 40px;
  align-items: center;
}

.footer-right {
  flex: 1;
  padding: 0 0 0 100px;
  font-size: 13px;
  color: #6F6969;
}
.footer-orders {
  width: 100px;
}

.article-list {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-item {
  cursor: pointer;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1);
  min-height: 200px;
  display: flex;
  margin-bottom: 20px;
}
.article-item-content {
  flex: 1;
  display: flex;
  padding: 0 0 0 80px;
}
.article-item-cover-img {
  width: 30%;
  background-size: cover;
  background-repeat: no-repeat;
}
.article-item-left {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.article-item-right {
  width: 100px;
  position: relative;
}
.article-item-title {
  font-size: 20px;
  font-weight: 700;
  height: 80px;
  display: flex;
  align-items: center;
}
.article-item-abstract {
  flex: 1;
  padding-bottom: 40px;
  word-break: break-all;
  text-overflow: ellipsis;
  font-size: 14px;
  color: #444;
  line-height: 160%
}
.article-item-type {
  width: 60px;
  height: 30px;
  line-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
}
.article-item-date {
  width: 100px;
  position: absolute;
  bottom: 20px;
  right: 10px;
  color: #aaa;
  font-size: 14px;
}

.nft {
  background: #d2bff2;
}
.defi {
  background: #ee1825;
}
.gamefi {
  background: #3C6ECF;
}
.other {
  background: #339966;
}
.socialfi{
  background: #46E3C7;
}
.invest{
  background: #2CE51C;
}

#widget {
  position: fixed;
  top: 300px;
  right: 30px;
}

.widget-item {
  cursor: pointer;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px #ccc;
  border-radius: 100px;
}
